package com.cykj.user.service;

import com.cykj.common.dto.ResponseDTO;
import com.cykj.common.entity.OrdersDO;
import com.cykj.user.vo.OrdersVO;
import com.cykj.user.vo.UserVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @BelongsProject: smart_recruit_backend
 * @BelongsPackage: com.cykj.user.service
 * @Author: 浮行
 * @CreateTime: 2025-08-23 10:53
 * @Description: TODO
 * @Version: 1.0
 */
public interface IOrderService {
    /**
     * @Description: 修改用户会员状态和到期时间
     * @Param: [userVO]
     * @return: java.lang.Integer
     */
    ResponseDTO updateUserVIP(UserVO userVO);
    /**
     * @Description: 新增订单
     * @Param: [ordersVO]
     * @return: java.lang.Integer
     */
    ResponseDTO addOrder(OrdersVO ordersVO);
    /**
     * @Description: 查询用户的订单
     * @Param: [ordersVO]
     * @return: java.util.List<com.cykj.common.entity.OrdersDO>
     */
    ResponseDTO selectUserOrders(OrdersVO ordersVO);
}
